package com.hunttown.mes.rpc.api;

import com.hunttown.common.domain.Page;
import com.hunttown.mes.rpc.domain.TransportUserCardLogDTO;
import com.hunttown.mes.rpc.domain.query.TransportUserCardLogDTOQuery;

/**
 * created by wangjunfu on 2019-07-06 10:59:02
 */
public interface TransportUserCardLogRpcService {

    TransportUserCardLogDTO insert(TransportUserCardLogDTO transportUserCardLogDTO);

    Boolean updateInfoById(TransportUserCardLogDTO transportUserCardLogDTO);

    Boolean updateInfoByQuery(TransportUserCardLogDTOQuery transportUserCardLogDTOQuery);

    TransportUserCardLogDTO selectById(Integer id);

    TransportUserCardLogDTO selectByOrderIdForApi(String orderId);

    TransportUserCardLogDTO selectObjByQuery(TransportUserCardLogDTOQuery transportUserCardLogDTOQuery);

    TransportUserCardLogDTO selectObjWithoutEnt(TransportUserCardLogDTOQuery transportUserCardLogDTOQuery);

    Page<TransportUserCardLogDTO> getListForPage(TransportUserCardLogDTOQuery transportUserCardLogDTOQuery);

    Boolean deleteById(Integer id);

    Float computeTotalAmount(TransportUserCardLogDTOQuery query);
}